<template>
  <view>
    <text>{{ greeting }}</text>
	<div class="m-3">Hello</div>
  </view>
</template>

<script lang="ts">
import { defineComponent } from 'vue';
import { Hello } from '@/ts/hello';

let s:string = "123"
console.log(s)

export default defineComponent({
  data() {
    return {
      greeting: '',
    };
  },
  mounted() {
    const helloInstance = new Hello('UniApp TypeScript');
    this.greeting = helloInstance.greet();
		
  },
});
</script>

<style scoped>
</style>s